
#include "Framework.h"

using namespace std;
/* constructor */
TFW_Event::TFW_Event(){}
TFW_Event::TFW_Event(int varID):kind(varID){}
TFW_Event::~TFW_Event(){};

/* serialize */
void TFW_Event::serialize(TFW_Stream& buf) const
{
	buf.setbuf((char*)&kind);
}

/* deserialize */
void TFW_Event::deserialize(TFW_Stream& buf)
{
	kind = *(int*)buf.getbuf();
}
